<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        a{
            display: inline-block;
           width:120px;
            height:58px;
            text-decoration: none;
            line-height: 50px;
            text-align: center;
            color: white;
        }
      .nav a:nth-child(1){
            background-image: url("/static/images/examle/bg1.png");
        }
        .nav a:nth-child(1):hover{
            background-image: url("/static/images/examle/bg11.png");
        }


      .nav a:nth-child(2){
          background-image: url("/static/images/examle/bg2.png");
      }
      .nav a:nth-child(3){
          background-image: url("/static/images/examle/bg3.png");
      }
    </style>
</head>
<body>
<div class="nav">
    <a href="#">首页</a>
    <a href="#">博客</a>
    <a href="#">视频</a>
    <a href="#">留言</a>
    <a href="#">关于</a>
</div>
</body>
</html>